package Question;

public class Q37_Person2 {

	private String name;
	private String addr;
	private int phone;
	
	public Q37_Person2() {
		name = null;
		addr = null;
		phone = 0;
	}
	public Q37_Person2(String name, String addr, int phone) {
		this.name = name;
		this.addr = addr;
		this.phone = phone;
	}

	public void setName(String name) { this.name = name; }
	public void setAddr(String addr) { this.addr = addr; }
	public void setPhone(int phone) { this.phone = phone; }
	public String getName() { return name; }
	public String getAddr() { return addr; }
	public int getPhone() { return phone; }
}